local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1
L0_1 = {}
L0_1.group_id = 166001165
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 165002
L2_1.gadget_id = 70220015
L3_1 = {}
L3_1.x = 907.851
L3_1.y = 752.117
L3_1.z = 323.286
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 272.164
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 32
L2_1.area_id = 300
L3_1 = {}
L3_1.config_id = 165003
L3_1.gadget_id = 70220015
L4_1 = {}
L4_1.x = 899.853
L4_1.y = 752.214
L4_1.z = 317.544
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 272.164
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 32
L3_1.area_id = 300
L4_1 = {}
L4_1.config_id = 165004
L4_1.gadget_id = 70220015
L5_1 = {}
L5_1.x = 900.121
L5_1.y = 752.945
L5_1.z = 315.659
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 351.855
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 32
L4_1.area_id = 300
L5_1 = {}
L5_1.config_id = 165005
L5_1.gadget_id = 70220016
L6_1 = {}
L6_1.x = 907.366
L6_1.y = 752.081
L6_1.z = 316.01
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 270.71
L6_1.y = 180.002
L6_1.z = 323.463
L5_1.rot = L6_1
L5_1.level = 32
L5_1.area_id = 300
L6_1 = {}
L6_1.config_id = 165006
L6_1.gadget_id = 70220016
L7_1 = {}
L7_1.x = 906.364
L7_1.y = 752.069
L7_1.z = 324.092
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 270.714
L7_1.y = 180.0
L7_1.z = 218.893
L6_1.rot = L7_1
L6_1.level = 32
L6_1.area_id = 300
L7_1 = {}
L7_1.config_id = 165007
L7_1.gadget_id = 70211001
L8_1 = {}
L8_1.x = 904.731
L8_1.y = 752.171
L8_1.z = 315.979
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 352.767
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 26
L7_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\146\131\230\156\136"
L7_1.isOneoff = true
L7_1.persistent = true
L8_1 = {}
L8_1.name = "chest"
L8_1.exp = 1
L7_1.explore = L8_1
L7_1.area_id = 300
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1165008
L2_1.name = "ANY_GADGET_DIE_165008"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_165008"
L2_1.action = "action_EVENT_ANY_GADGET_DIE_165008"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L3_1.config_id = 165001
L3_1.gadget_id = 70220015
L4_1 = {}
L4_1.x = 904.567
L4_1.y = 752.826
L4_1.z = 325.355
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 32
L3_1.area_id = 300
L4_1 = {}
L4_1.config_id = 165009
L4_1.gadget_id = 70710153
L5_1 = {}
L5_1.x = 901.394
L5_1.y = 752.14
L5_1.z = 314.828
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 354.301
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 32
L4_1.area_id = 300
L2_1[1] = L3_1
L2_1[2] = L4_1
L1_1.gadgets = L2_1
garbages = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 165002
L5_1 = 165003
L6_1 = 165004
L7_1 = 165005
L8_1 = 165006
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_165008"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CheckRemainGadgetCountByGroupId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 166001165
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_165008 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 165007
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_165008 = L1_1
